embedding ml in flask boostrap